package com.lagou.user.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "lagou-service-code",path = "/api/code")
public interface CoderFegin {

    @GetMapping("/validate/{email}/{code}")
    public Integer validateEmailCode(@PathVariable(value = "email")  String email, @PathVariable(value = "code") String code);
}
